﻿
namespace TVRageDAL
{
    /// <summary>
    /// Type definiton for Show
    /// </summary>
    public class ShowInformation
    {
        /// <summary>
        /// Numerical Id of the show that corresponds to TVRage.com show id
        /// </summary>
        public int ShowId { get; set; }

        /// <summary>
        /// Name of the show
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Name of the show to search for
        /// </summary>
        public string SearchName { get; set; }

        /// <summary>
        /// URL of show details
        /// </summary>
        public string ShowUrl { get; set; }

        /// <summary>
        /// Array of Episodes for the show
        /// </summary>
        public EpisodeInformation[] Episodes { get; set; }
    }

    /// <summary>
    /// Type definition for Episode
    /// </summary>
    public class EpisodeInformation
    {
        /// <summary>
        /// Season number
        /// </summary>
        public string Season { get; set; }

        /// <summary>
        /// Episode number
        /// </summary>
        public string Episode { get; set; }

        /// <summary>
        /// Name of the Episode
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Original US airing date and time
        /// </summary>
        public string AirDate { get; set; }

        /// <summary>
        /// Determines if episode is of HD quality (720p)
        /// </summary>
        public bool IsHd { get; set; }
    }

}
